package com.situ.service;

import com.situ.dto.PageEntity;
import com.situ.entity.Department;

import java.util.List;

public interface IDepartmentService {

    public List<Department> selectList(String name, PageEntity page);

    Integer countDept(String name);

    void update(Department dept);

    void add(Department dept);

    Department selectById(Integer id);

    void delete(Integer id);

    List<Department> selectAll();
}
